package com.ge.modules.sys.service.impl;

import com.ge.modules.dao.TbRechargeOrderDao;
import com.ge.modules.entity.TbRechargeOrderEntity;
import com.ge.modules.sys.service.SysRechargeOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SysRechargeOrderServiceImpl implements SysRechargeOrderService {
    @Autowired
    private TbRechargeOrderDao rechargeOrderDao;

    @Override
    public TbRechargeOrderEntity queryObject(Integer id) {
        return rechargeOrderDao.queryObject(id);
    }

    @Override
    public List<TbRechargeOrderEntity> queryList(Map<String, Object> map) {
        return rechargeOrderDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return rechargeOrderDao.queryTotal(map);
    }

    @Override
    public void save(TbRechargeOrderEntity rechargeOrder) {
        rechargeOrderDao.save(rechargeOrder);
    }

    @Override
    public void update(TbRechargeOrderEntity rechargeOrder) {
        rechargeOrderDao.update(rechargeOrder);
    }

    @Override
    public void delete(Integer id) {
        rechargeOrderDao.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids) {
        rechargeOrderDao.deleteBatch(ids);
    }

}
